#pragma once

#include "Common.h"
#include <Control.hpp>
#include <LineEdit.hpp>
#include <Button.hpp>
#include <vector>
#include <string>
#include <stdexcept>

namespace godot {
class MainMenu: public Control {
	GODOT_CLASS(MainMenu, Control);
	
public:
	static void _register_methods();
	
	void _init();
	void _ready();
	
	void _on_SubmitButton_pressed();
	void _on_ContinueButton_pressed();
	
private:
	std::vector<unsigned short> __get_rows_and_columns();
};
}